package cn.edu.hit.core.transfer;

@FunctionalInterface
public interface Transfer<T, R, ARG> {
    R transfer(T source, ARG arg);

    default boolean accept(String name) {
        return this.getClass().getName().equalsIgnoreCase(name);
    }
}
